package com.warrior.api.vo.transaction;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.deser.Deserializers.Base;

import java.util.Date;

/**
 * 
 * @author espritblock http://eblock.io
 *
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class TransactionHistory extends Base {

	@JsonProperty("id")
	private String id;

	@JsonProperty("trx")
	private Object trx;


	@JsonProperty("block_time")
	private Date blockTime;

	@JsonProperty("block_num")
	private Long blockNum;

	@JsonProperty("last_irreversible_block")
	private Long lastIrreversibleBlock;

	@JsonProperty("traces")
	private Object[] traces;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Object getTrx() {
		return trx;
	}

	public void setTrx(Object trx) {
		this.trx = trx;
	}

	public Date getBlockTime() {
		return blockTime;
	}

	public void setBlockTime(Date blockTime) {
		this.blockTime = blockTime;
	}

	public Long getBlockNum() {
		return blockNum;
	}

	public void setBlockNum(Long blockNum) {
		this.blockNum = blockNum;
	}

	public Long getLastIrreversibleBlock() {
		return lastIrreversibleBlock;
	}

	public void setLastIrreversibleBlock(Long lastIrreversibleBlock) {
		this.lastIrreversibleBlock = lastIrreversibleBlock;
	}

	public Object[] getTraces() {
		return traces;
	}

	public void setTraces(Object[] traces) {
		this.traces = traces;
	}
}
